AttributeReferenceSurrogate.Implicit Conversion (AttributeReference to AttributeReferenceSurrogate) Operator

Converts the object to the related surrogate during the serialization process.
Public Shared Widening Operator CType( _ 
ByVal source As AttributeReference
) As AttributeReferenceSurrogate
This language is not supported or no code example is available.
public static implicit operator AttributeReferenceSurrogate
AttributeReference source 
)
This language is not supported or no code example is available.

Parameters

source
AttributeReference

Return Value

AttributeReferenceSurrogate
Exception type Condition

EyeshotException

Thrown when the AttributeReference.ConvertToSurrogate method returns null value.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition