ModelSchema.FindAnnotationClass Method (Type)
Returns the annotation metadata object that is associated with an annotation of the given type.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Function FindAnnotationClass ( _
type As Type _
) As ModelAnnotationClass
public ModelAnnotationClass FindAnnotationClass(
Type type
)
public:
ModelAnnotationClass^ FindAnnotationClass(
Type^ type
)
member FindAnnotationClass :
type:Type -> ModelAnnotationClass
public function FindAnnotationClass(
type : Type
) : ModelAnnotationClass
Parameters
- type
Type: System.Type
The Type to look up.
Return Value
Type: Microsoft.Data.Schema.SchemaModel.ModelAnnotationClass
Returns the requested annotation metadata object.
.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.