다음을 통해 공유


MyGroupCollectionAttribute(String, String, String, String) 생성자

정의

이 특성은 Visual Basic에서 My.FormsMy.WebServices 지원합니다.

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

public:
 MyGroupCollectionAttribute(System::String ^ typeToCollect, System::String ^ createInstanceMethodName, System::String ^ disposeInstanceMethodName, System::String ^ defaultInstanceAlias);
public MyGroupCollectionAttribute(string typeToCollect, string createInstanceMethodName, string disposeInstanceMethodName, string defaultInstanceAlias);
new Microsoft.VisualBasic.MyGroupCollectionAttribute : string * string * string * string -> Microsoft.VisualBasic.MyGroupCollectionAttribute
Public Sub New (typeToCollect As String, createInstanceMethodName As String, disposeInstanceMethodName As String, defaultInstanceAlias As String)

매개 변수

typeToCollect
String

String; 속성을 초기화합니다 MyGroupName . 컴파일러는 이 형식에서 파생되는 클래스에 대한 접근자 속성을 생성합니다.

createInstanceMethodName
String

String; 속성을 초기화합니다 CreateMethod . 형식의 인스턴스를 만드는 클래스의 메서드를 지정합니다.

disposeInstanceMethodName
String

String; 속성을 초기화합니다 DisposeMethod . 형식의 인스턴스를 삭제하는 클래스의 메서드를 지정합니다.

defaultInstanceAlias
String

String; 속성을 초기화합니다 DefaultInstanceAlias . 클래스의 기본 인스턴스를 반환하는 속성의 이름을 지정합니다.

설명

이 특성은 Visual Basic에서 My.FormsMy.WebServices 지원합니다. 코드에서 직접 사용할 수 없습니다.

이 특성이 클래스에 배치되면 컴파일러는 해당 클래스를 속성에 지정된 형식에서 파생되는 프로젝트의 모든 형식에 해당하는 속성으로 MyGroupName 채웁니다.

적용 대상

추가 정보