SchemaImporterExtension.ImportDefaultValue(String, String) Método
Definição
Permite que você especifique o valor padrão para o tipo XSD que está sendo importado.Allows you to specify the default value for the XSD type being imported.
public:
virtual System::CodeDom::CodeExpression ^ ImportDefaultValue(System::String ^ value, System::String ^ type);
public virtual System.CodeDom.CodeExpression ImportDefaultValue (string value, string type);
abstract member ImportDefaultValue : string * string -> System.CodeDom.CodeExpression
override this.ImportDefaultValue : string * string -> System.CodeDom.CodeExpression
Public Overridable Function ImportDefaultValue (value As String, type As String) As CodeExpression
Parâmetros
- value
- String
O valor encontrado no XSD original.The value found in the original XSD.
- type
- String
O nome do tipo XSD.The XSD type name.
Retornos
Um CodeExpression configurando o novo valor padrão.A CodeExpression setting the new default value.
Comentários
Para controlar a geração do código, você deve usar as classes encontradas no System.CodeDom namespace.In order to control the generation of the code, you must use the classes found in the System.CodeDom namespace. Para obter mais informações, consulte usando a referência rápidaCodeDOM e CodeDom.For more information, see Using the CodeDOM and CodeDOM Quick Reference.