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!

DefaultMemberAttribute Constructor

Initializes a new DefaultMemberAttribute.

[Visual Basic]
Public Sub New( _
   ByVal memberName As String _
)
[C#]
public DefaultMemberAttribute(
   string memberName
);
[C++]
public: DefaultMemberAttribute(
   String* memberName
);
[JScript]
public function DefaultMemberAttribute(
   memberName : String
);

Parameters

memberName
The name of the member to invoke. This may be a constructor, method, property, or field. A suitable invocation attribute must be specified. Note that it is possible to invoke the default member of a class by passing an empty string as the name of the member.

The default member of a type is marked with the DefaultMemberAttribute custom attribute or marked in COM in the usual way.

See Also

DefaultMemberAttribute Class | DefaultMemberAttribute Members | System.Reflection Namespace