Share via


ModelSchema.FindAnnotationClass Method (String)

Finds and returns the annotation metadata object by name.

Namespace:  Microsoft.Data.Schema.SchemaModel
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Public Function FindAnnotationClass ( _
    name As String _
) As ModelAnnotationClass
public ModelAnnotationClass FindAnnotationClass(
    string name
)
public:
ModelAnnotationClass^ FindAnnotationClass(
    String^ name
)
member FindAnnotationClass : 
        name:string -> ModelAnnotationClass 
public function FindAnnotationClass(
    name : String
) : ModelAnnotationClass

Parameters

Return Value

Type: Microsoft.Data.Schema.SchemaModel.ModelAnnotationClass
Returns the identified annotation metadata object.

Remarks

The name parameter value matches the ClassName property on the returned annotation class.

.NET Framework Security

See Also

Reference

ModelSchema Class

FindAnnotationClass Overload

Microsoft.Data.Schema.SchemaModel Namespace

ModelAnnotationClass