ModelStore.CreateNamedAnnotation Method (Type, ModelStore.Identifier)
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Function CreateNamedAnnotation ( _
annotationType As Type, _
identifier As ModelStore..::..Identifier _
) As IModelAnnotation
'Usage
Dim instance As ModelStore
Dim annotationType As Type
Dim identifier As ModelStore..::..Identifier
Dim returnValue As IModelAnnotation
returnValue = instance.CreateNamedAnnotation(annotationType, _
identifier)
public IModelAnnotation CreateNamedAnnotation(
Type annotationType,
ModelStore..::..Identifier identifier
)
public:
IModelAnnotation^ CreateNamedAnnotation(
Type^ annotationType,
ModelStore..::..Identifier^ identifier
)
public function CreateNamedAnnotation(
annotationType : Type,
identifier : ModelStore..::..Identifier
) : IModelAnnotation
member CreateNamedAnnotation :
annotationType:Type *
identifier:ModelStore..::..Identifier -> IModelAnnotation
Parameters
- annotationType
Type: System.Type
- identifier
Type: Microsoft.Data.Schema.SchemaModel.ModelStore.Identifier
Return Value
Type: Microsoft.Data.Schema.SchemaModel.IModelAnnotation
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.