ModelSchema.FindElementClass Method (String)
Finds and returns the element metadata object that has the matching name.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Function FindElementClass ( _
name As String _
) As ModelElementClass
public ModelElementClass FindElementClass(
string name
)
public:
ModelElementClass^ FindElementClass(
String^ name
)
member FindElementClass :
name:string -> ModelElementClass
public function FindElementClass(
name : String
) : ModelElementClass
Parameters
- name
Type: System.String
The class name.
Return Value
Type: Microsoft.Data.Schema.SchemaModel.ModelElementClass
Returns the identified element metadata object.
Remarks
The name matches the ClassName property on the returned element 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.