Compartir a través de


CreateFromStringAttribute Clase

Definición

Crea un objeto de metadatos a partir de una cadena.

public ref class CreateFromStringAttribute sealed : Attribute
/// [Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.RuntimeClass | System.AttributeTargets.Struct)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
class CreateFromStringAttribute final : Attribute
/// [Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.RuntimeClass | System.AttributeTargets.Struct)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.AttributeName("createfromstring")]
class CreateFromStringAttribute final : Attribute
[Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.RuntimeClass | System.AttributeTargets.Struct)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
public sealed class CreateFromStringAttribute : Attribute
[Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.RuntimeClass | System.AttributeTargets.Struct)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.AttributeName("createfromstring")]
public sealed class CreateFromStringAttribute : Attribute
Public NotInheritable Class CreateFromStringAttribute
Inherits Attribute
Herencia
CreateFromStringAttribute
Atributos

Requisitos de Windows

Familia de dispositivos
Windows 10 Anniversary Edition (se introdujo en la versión 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (se introdujo en la versión v3.0)

Constructores

CreateFromStringAttribute()

Constructor predeterminado para CreateFromStringAttribute

Campos

MethodName

Crea un objeto de metadatos a partir de una cadena.

Se aplica a

Consulte también