ModelStore.CreateNamedAnnotation<TAnnotation> Method
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Function CreateNamedAnnotation(Of TAnnotation As IModelAnnotation) ( _
identifier As ModelStore..::..Identifier _
) As TAnnotation
'Usage
Dim instance As ModelStore
Dim identifier As ModelStore..::..Identifier
Dim returnValue As TAnnotation
returnValue = instance.CreateNamedAnnotation(identifier)
public TAnnotation CreateNamedAnnotation<TAnnotation>(
ModelStore..::..Identifier identifier
)
where TAnnotation : IModelAnnotation
public:
generic<typename TAnnotation>
where TAnnotation : IModelAnnotation
TAnnotation CreateNamedAnnotation(
ModelStore..::..Identifier^ identifier
)
JScript does not support generic types or methods.
member CreateNamedAnnotation :
identifier:ModelStore..::..Identifier -> 'TAnnotation when 'TAnnotation : IModelAnnotation
Type Parameters
- TAnnotation
Parameters
- identifier
Type: Microsoft.Data.Schema.SchemaModel.ModelStore.Identifier
Return Value
Type: TAnnotation
.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.