ModelStore.CreateNamedAnnotation Method (AnnotationClass, ModelStore.Identifier)
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Function CreateNamedAnnotation ( _
annotationClass As AnnotationClass, _
identifier As ModelStore..::..Identifier _
) As IModelAnnotation
'Usage
Dim instance As ModelStore
Dim annotationClass As AnnotationClass
Dim identifier As ModelStore..::..Identifier
Dim returnValue As IModelAnnotation
returnValue = instance.CreateNamedAnnotation(annotationClass, _
identifier)
public IModelAnnotation CreateNamedAnnotation(
AnnotationClass annotationClass,
ModelStore..::..Identifier identifier
)
public:
IModelAnnotation^ CreateNamedAnnotation(
AnnotationClass^ annotationClass,
ModelStore..::..Identifier^ identifier
)
public function CreateNamedAnnotation(
annotationClass : AnnotationClass,
identifier : ModelStore..::..Identifier
) : IModelAnnotation
member CreateNamedAnnotation :
annotationClass:AnnotationClass *
identifier:ModelStore..::..Identifier -> IModelAnnotation
Parameters
- annotationClass
Type: Microsoft.Data.Schema.SchemaModel.AnnotationClass
- 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.