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
- name
Type: System.String
The class name.
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
- 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.