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!

ComponentModelPersister.GetDoesMethodExist

Determines if a method of the specified name exists in the code.

[Visual Basic]
Overridable Public Function GetDoesMethodExist( _
   ByVal name As String, _
   ByVal argTypes() As Type _
) As Boolean
[C#]
public virtual bool GetDoesMethodExist(
   string name,
   Type[] argTypes
);
[C++]
public: virtual bool GetDoesMethodExist(
   String* name,
   Type* argTypes[]
);
[JScript]
public function GetDoesMethodExist(
   name : String,
   argTypes : Type[]
) : Boolean;

Parameters

name
The name of the method.
argTypes
The types of the arguments for the method.

Return Value

true if the method exists, otherwise false.

See Also

ComponentModelPersister Class | ComponentModelPersister Members | System.ComponentModel.Design Namespace