InputDescriptor 생성자 (String, Type, String, String, AutoAssignedInput, Type, Type)

제공된 매개 변수를 사용하여 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, _
    uiTypeEditor As Type _
)
public InputDescriptor(
    string key,
    Type type,
    string name,
    string description,
    AutoAssignedInput inputType,
    Type typeConverter,
    Type uiTypeEditor
)
public:
InputDescriptor(
    String^ key, 
    Type^ type, 
    String^ name, 
    String^ description, 
    AutoAssignedInput inputType, 
    Type^ typeConverter, 
    Type^ uiTypeEditor
)
new : 
        key:string * 
        type:Type * 
        name:string * 
        description:string * 
        inputType:AutoAssignedInput * 
        typeConverter:Type * 
        uiTypeEditor:Type -> InputDescriptor
public function InputDescriptor(
    key : String, 
    type : Type, 
    name : String, 
    description : String, 
    inputType : AutoAssignedInput, 
    typeConverter : Type, 
    uiTypeEditor : Type
)

매개 변수

  • key
    형식: System.String
    입력 값을 고유하게 식별하는 키입니다.기본 생성기의 경우 이 키는 속성 이름입니다.
  • type
    형식: System.Type
    입력 값의 데이터 형식입니다.
  • name
    형식: System.String
    입력 값의 이름입니다.이 이름은 속성 창에 표시됩니다.
  • description
    형식: System.String
    입력 값에 대한 설명입니다.이 설명은 속성 창에 표시됩니다.
  • typeConverter
    형식: System.Type
    이 입력에 사용할 형식 변환기의 Type입니다.형식 변환기는 속성 창에 드롭다운 목록을 표시하는 데 사용됩니다.
  • uiTypeEditor
    형식: System.Type
    이 입력에 사용할 편집기의 Type입니다.

설명

inputType 매개 변수는 AutoAssignedInput에 정의된 잘 알려진 입력 형식 중 하나를 사용할 수 있으며 여기에는 Seed(), Nullable(), PercentageNull(), Unique() 등이 포함됩니다.

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

InputDescriptor 클래스

InputDescriptor 오버로드

Microsoft.Data.Schema.Tools.DataGenerator 네임스페이스

InputDescriptor

AutoAssignedInput