NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

EnumBuilder.GetInterface

Returns the interface implemented (directly or indirectly) by this class with the fully-qualified name matching the given interface name.

[Visual Basic]
Overrides Public Function GetInterface( _
   ByVal name As String, _
   ByVal ignoreCase As Boolean _
) As Type
[C#]
public override Type GetInterface(
   string name,
   bool ignoreCase
);
[C++]
public: override Type* GetInterface(
   String* name,
   bool ignoreCase
);
[JScript]
public override function GetInterface(
   name : String,
   ignoreCase : Boolean
) : Type;

Parameters

name
The name of the interface.
ignoreCase
If true, the search is case-insensitive. If false, the search is case-sensitive.

Return Value

Returns a Type object representing the implemented interface. Returns null if no interface matching name is found.

Exceptions

Exception Type Condition
NotSupportedException This method is not implemented.

Remarks

This method is not currently supported. As a workaround, retrieve the type using Type.GetType or Assembly.GetType and use reflection on the retrieved type.

See Also

EnumBuilder Class | EnumBuilder Members | System.Reflection.Emit Namespace