OutputDescriptor Constructor (String, Type)
Initializes a new instance of the OutputDescriptor class by using the provided key and data type.
Namespace: Microsoft.Data.Schema.Tools.DataGenerator
Assembly: Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)
Syntax
'Declaration
Public Sub New ( _
key As String, _
type As Type _
)
public OutputDescriptor(
string key,
Type type
)
public:
OutputDescriptor(
String^ key,
Type^ type
)
new :
key:string *
type:Type -> OutputDescriptor
public function OutputDescriptor(
key : String,
type : Type
)
Parameters
- key
Type: System.String
The key that is used to uniquely identify the output value. For the default designer, this key is the property name.
- type
Type: System.Type
The data type of the output.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.