SerializationExtensionMethods.GetSerializationLocation 方法

获取应在其中对批准进行序列化的位置。

命名空间:  Microsoft.Data.Edm.Csdl
程序集:  Microsoft.Data.Edm(在 Microsoft.Data.Edm.dll 中)

语法

声明
<ExtensionAttribute> _
Public Shared Function GetSerializationLocation ( _
    annotation As IEdmVocabularyAnnotation, _
    model As IEdmModel _
) As Nullable(Of EdmVocabularyAnnotationSerializationLocation)
用法
Dim annotation As IEdmVocabularyAnnotation
Dim model As IEdmModel
Dim returnValue As Nullable(Of EdmVocabularyAnnotationSerializationLocation)

returnValue = annotation.GetSerializationLocation(model)
public static Nullable<EdmVocabularyAnnotationSerializationLocation> GetSerializationLocation(
    this IEdmVocabularyAnnotation annotation,
    IEdmModel model
)
[ExtensionAttribute]
public:
static Nullable<EdmVocabularyAnnotationSerializationLocation> GetSerializationLocation(
    IEdmVocabularyAnnotation^ annotation, 
    IEdmModel^ model
)
static member GetSerializationLocation : 
        annotation:IEdmVocabularyAnnotation * 
        model:IEdmModel -> Nullable<EdmVocabularyAnnotationSerializationLocation> 
public static function GetSerializationLocation(
    annotation : IEdmVocabularyAnnotation, 
    model : IEdmModel
) : Nullable<EdmVocabularyAnnotationSerializationLocation>

参数

返回值

类型:System.Nullable<EdmVocabularyAnnotationSerializationLocation>
应在其中对批准进行序列化的位置。

用法说明

在 Visual Basic 和 C# 中,您可以对 IEdmVocabularyAnnotation 类型的任何对象将此方法作为实例方法调用。在您使用实例方法语法调用此方法时,将忽略第一个参数。有关详细信息,请参阅https://msdn.microsoft.com/zh-cn/library/bb384936(v=vs.103)https://msdn.microsoft.com/zh-cn/library/bb383977(v=vs.103)

请参阅

参考

SerializationExtensionMethods 类

Microsoft.Data.Edm.Csdl 命名空间