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!

TypeDelegator.GetConstructors

Returns an array of ConstructorInfo objects representing constructors defined for the current class.

[Visual Basic]
Overrides Public Function GetConstructors( _
   ByVal bindingAttr As BindingFlags _
) As ConstructorInfo ()
[C#]
public override ConstructorInfo[] GetConstructors(
   BindingFlags bindingAttr
);
[C++]
public: override ConstructorInfo* GetConstructors(
   BindingFlags bindingAttr
) [];
[JScript]
public override function GetConstructors(
   bindingAttr : BindingFlags
) : ConstructorInfo[];

Parameters

bindingAttr
This bit mask affects the way in which the search is conducted. The value is a BindingFlags, such as NonPublic or Public.

Return Value

Returns an array of ConstructorInfo objects representing the specified constructors defined for this class. If no constructors are defined, an empty array is returned.

Depending on the value of a specified parameter, only public constructors or both public and non-public constructors will be returned.

Remarks

Class initializers are available only through GetMember, GetMembers, FindMembers, and GetConstructors.

See Also

TypeDelegator Class | TypeDelegator Members | System.Reflection Namespace