StaticAttribute Konstruktoren

Definition

Überlädt

StaticAttribute(Type, UInt32)

Erstellt und initialisiert eine neue instance des Attributs.

StaticAttribute(Type, UInt32, String)

Erstellt und initialisiert eine neue instance des Attributs.

StaticAttribute(Type, UInt32, Type)

Erstellt und initialisiert eine neue instance des Attributs.

StaticAttribute(Type, UInt32, Platform)

Erstellt und initialisiert eine neue instance des Attributs.

StaticAttribute(Type, UInt32)

Erstellt und initialisiert eine neue instance des Attributs.

public:
 StaticAttribute(Platform::Type ^ type, unsigned int version);
public StaticAttribute(Type type, uint version);
function StaticAttribute(type, version)
Public Sub New (type As Type, version As UInteger)

Parameter

type
TypeName Type

Der Typ, der die statischen Methoden für die Laufzeitklasse enthält.

version
UInt32

unsigned int

Die Version, in der die statische Schnittstelle hinzugefügt wurde.

Weitere Informationen

Gilt für:

StaticAttribute(Type, UInt32, String)

Erstellt und initialisiert eine neue instance des Attributs.

public:
 StaticAttribute(Platform::Type ^ type, unsigned int version, Platform::String ^ contractName);
public StaticAttribute(Type type, uint version, string contractName);
function StaticAttribute(type, version, contractName)
Public Sub New (type As Type, version As UInteger, contractName As String)

Parameter

type
TypeName Type

Der Typ, der die statischen Methoden für die Laufzeitklasse enthält.

version
UInt32

unsigned int

Die Version des API-Vertrags, in der die statische Factory der Aktivierungsfactory der Laufzeitklasse hinzugefügt wurde.

contractName
String

Platform::String

Eine Zeichenfolge, die den Typ des API-Vertrags darstellt, der die -Klasse implementiert.

Weitere Informationen

Gilt für:

StaticAttribute(Type, UInt32, Type)

Erstellt und initialisiert eine neue instance des Attributs.

public:
 StaticAttribute(Platform::Type ^ type, unsigned int version, Platform::Type ^ contractName);
public StaticAttribute(Type type, uint version, Type contractName);
function StaticAttribute(type, version, contractName)
Public Sub New (type As Type, version As UInteger, contractName As Type)

Parameter

type
TypeName Type

Der Typ, der die statischen Methoden für die Laufzeitklasse enthält.

version
UInt32

unsigned int

Die Version des API-Vertrags, in der die statische Factory der Aktivierungsfactory der Laufzeitklasse hinzugefügt wurde.

contractName
TypeName Type

Der Typ des API-Vertrags, der die -Klasse implementiert.

Weitere Informationen

Gilt für:

StaticAttribute(Type, UInt32, Platform)

Erstellt und initialisiert eine neue instance des Attributs.

public:
 StaticAttribute(Platform::Type ^ type, unsigned int version, Platform platform);
public StaticAttribute(Type type, uint version, Platform platform);
function StaticAttribute(type, version, platform)
Public Sub New (type As Type, version As UInteger, platform As Platform)

Parameter

type
TypeName Type

Der Typ, der die statischen Methoden für die Laufzeitklasse enthält.

version
UInt32

unsigned int

Die Version, in der die statische Schnittstelle hinzugefügt wurde.

platform
Platform

Ein Wert aus der Enumeration. Der Standardwert ist Windows.

Weitere Informationen

Gilt für: