注釈をシリアル化するスキーマを取得します。
名前空間: Microsoft.Data.Edm.Csdl
アセンブリ: Microsoft.Data.Edm (Microsoft.Data.Edm.dll)
構文
'宣言
<ExtensionAttribute> _
Public Shared Function GetSchemaNamespace ( _
annotation As IEdmVocabularyAnnotation, _
model As IEdmModel _
) As String
'使用
Dim annotation As IEdmVocabularyAnnotation
Dim model As IEdmModel
Dim returnValue As String
returnValue = annotation.GetSchemaNamespace(model)
public static string GetSchemaNamespace(
this IEdmVocabularyAnnotation annotation,
IEdmModel model
)
[ExtensionAttribute]
public:
static String^ GetSchemaNamespace(
IEdmVocabularyAnnotation^ annotation,
IEdmModel^ model
)
static member GetSchemaNamespace :
annotation:IEdmVocabularyAnnotation *
model:IEdmModel -> string
public static function GetSchemaNamespace(
annotation : IEdmVocabularyAnnotation,
model : IEdmModel
) : String
パラメーター
- annotation
型: Microsoft.Data.Edm.Annotations.IEdmVocabularyAnnotation
呼び出し元の注釈への参照。
- model
型: Microsoft.Data.Edm.IEdmModel
注釈を含むモデル。
戻り値
型: System.String
注釈が属しているスキーマの名前。
使用に関するメモ
Visual Basic および C# では、このメソッドを型 IEdmVocabularyAnnotation の任意のオブジェクトのインスタンス メソッドとして呼び出すことができます。このメソッドを呼び出すためにインスタンス メソッドの構文を使う場合は、最初のパラメーターを省略してください。詳細については、「https://msdn.microsoft.com/ja-jp/library/bb384936(v=vs.103)」または「https://msdn.microsoft.com/ja-jp/library/bb383977(v=vs.103)」を参照してください。