InputDescriptor 생성자 (String, Type, String, String, AutoAssignedInput, Type, String)
제공된 매개 변수를 사용하여 InputDescriptor 클래스의 새 인스턴스를 초기화합니다.
네임스페이스: Microsoft.Data.Schema.Tools.DataGenerator
어셈블리: Microsoft.Data.Schema.Tools(Microsoft.Data.Schema.Tools.dll)
구문
‘선언
Public Sub New ( _
key As String, _
type As Type, _
name As String, _
description As String, _
inputType As AutoAssignedInput, _
typeConverter As Type, _
uiTypeEditorName As String _
)
public InputDescriptor(
string key,
Type type,
string name,
string description,
AutoAssignedInput inputType,
Type typeConverter,
string uiTypeEditorName
)
public:
InputDescriptor(
String^ key,
Type^ type,
String^ name,
String^ description,
AutoAssignedInput inputType,
Type^ typeConverter,
String^ uiTypeEditorName
)
new :
key:string *
type:Type *
name:string *
description:string *
inputType:AutoAssignedInput *
typeConverter:Type *
uiTypeEditorName:string -> InputDescriptor
public function InputDescriptor(
key : String,
type : Type,
name : String,
description : String,
inputType : AutoAssignedInput,
typeConverter : Type,
uiTypeEditorName : String
)
매개 변수
- key
형식: System.String
입력 값을 고유하게 식별하는 키입니다.기본 생성기의 경우 이 키는 속성 이름입니다.
- type
형식: System.Type
입력 값의 데이터 형식입니다.
- name
형식: System.String
입력 값의 이름입니다.이 이름은 속성 창에 표시됩니다.
- description
형식: System.String
입력 값에 대한 설명입니다.이 설명은 속성 창에 표시됩니다.
- inputType
형식: Microsoft.Data.Schema.Tools.DataGenerator.AutoAssignedInput
입력 형식을 나타내는 AutoAssignedInput 열거형의 멤버입니다.이 매개 변수를 사용하여 잘 알려진 형식의 입력 값 형식을 지정할 수 있습니다.
- typeConverter
형식: System.Type
이 입력에 사용할 형식 변환기의 Type입니다.형식 변환기는 속성 창에 드롭다운 목록을 표시하는 데 사용됩니다.
- uiTypeEditorName
형식: System.String
이 입력에 사용할 형식 편집기의 이름입니다.
설명
inputType 매개 변수는 AutoAssignedInput에 정의된 잘 알려진 입력 형식 중 하나를 사용할 수 있으며 여기에는 Seed(), Nullable(), PercentageNull(), Unique() 등이 포함됩니다.
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.