MyGroupCollectionAttribute Constructor (String^, String^, String^, String^)
This API supports the product infrastructure and is not intended to be used directly from your code.
This attribute supports My.Forms and My.WebServices in Visual Basic.
Assembly: Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)
public:
MyGroupCollectionAttribute(
String^ typeToCollect,
String^ createInstanceMethodName,
String^ disposeInstanceMethodName,
String^ defaultInstanceAlias
)
Parameters
- typeToCollect
-
Type:
System::String^
String. Initializes the MyGroupName property. The compiler generates accessor properties for classes that derive from this type.
- createInstanceMethodName
-
Type:
System::String^
String. Initializes the CreateMethod property. Specifies the method in the class that creates the type's instances.
- disposeInstanceMethodName
-
Type:
System::String^
String. Initializes the DisposeMethod property. Specifies the method in the class that disposes of the type's instances.
- defaultInstanceAlias
-
Type:
System::String^
String. Initializes the DefaultInstanceAlias property. Specifies the name of the property that returns the default instance of the class.
This attribute supports My.Forms and My.WebServices in Visual Basic. It is not intended to be used directly from your code.
When this attribute is put on a class, the compiler fills that class with properties corresponding to all the types in the project that derive from the type specified by the MyGroupName property.
Available since 2.0
Silverlight
Available since 2.0