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!

TypeBuilder.AddInterfaceImplementation

Adds an interface that this type implements.

[Visual Basic]
Public Sub AddInterfaceImplementation( _
   ByVal interfaceType As Type _
)
[C#]
public void AddInterfaceImplementation(
   Type interfaceType
);
[C++]
public: void AddInterfaceImplementation(
   Type* interfaceType
);
[JScript]
public function AddInterfaceImplementation(
   interfaceType : Type
);

Parameters

interfaceType
The interface that this type implements

Exceptions

Exception Type Condition
ArgumentNullException if interfaceType is a null reference (in Visual Basic Nothing)
InvalidOperationException if the type was previously created using CreateType

See Also

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