Délégué TryCreateObjectInstance
Espace de noms : Microsoft.Data.Edm.EdmToClrConversion
Assembly : Microsoft.Data.Edm (en Microsoft.Data.Edm.dll)
Syntaxe
'Déclaration
Public Delegate Function TryCreateObjectInstance ( _
edmValue As IEdmStructuredValue, _
clrType As Type, _
converter As EdmToClrConverter, _
<OutAttribute> ByRef objectInstance As Object, _
<OutAttribute> ByRef objectInstanceInitialized As Boolean _
) As Boolean
'Utilisation
Dim instance As New TryCreateObjectInstance(AddressOf HandlerMethod)
public delegate bool TryCreateObjectInstance(
IEdmStructuredValue edmValue,
Type clrType,
EdmToClrConverter converter,
out Object objectInstance,
out bool objectInstanceInitialized
)
public delegate bool TryCreateObjectInstance(
IEdmStructuredValue^ edmValue,
Type^ clrType,
EdmToClrConverter^ converter,
[OutAttribute] Object^% objectInstance,
[OutAttribute] bool% objectInstanceInitialized
)
type TryCreateObjectInstance =
delegate of
edmValue:IEdmStructuredValue *
clrType:Type *
converter:EdmToClrConverter *
objectInstance:Object byref *
objectInstanceInitialized:bool byref -> bool
JScript prend en charge l'utilisation de délégués, mais pas la déclaration de nouveaux délégués.
Paramètres
- edmValue
Type : Microsoft.Data.Edm.Values.IEdmStructuredValue
- clrType
Type : System.Type
- converter
Type : Microsoft.Data.Edm.EdmToClrConversion.EdmToClrConverter
- objectInstance
Type : System.Object%
- objectInstanceInitialized
Type : System.Boolean%
Valeur de retour
Type : System.Boolean