ModelSchema.FindElementClass Method (Type)
Finds and returns the element metadata object for the element that implements the given type.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Function FindElementClass ( _
type As Type _
) As ModelElementClass
public ModelElementClass FindElementClass(
Type type
)
public:
ModelElementClass^ FindElementClass(
Type^ type
)
member FindElementClass :
type:Type -> ModelElementClass
public function FindElementClass(
type : Type
) : ModelElementClass
Parameters
- type
Type: System.Type
The SystemType to look for.
Return Value
Type: Microsoft.Data.Schema.SchemaModel.ModelElementClass
Returns the requested 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.