StaticAttribute StaticAttribute StaticAttribute StaticAttribute StaticAttribute Constructors

Definition

Overloads

StaticAttribute(Type, UInt32) StaticAttribute(Type, UInt32) StaticAttribute(Type, UInt32) StaticAttribute(Type, UInt32) StaticAttribute(Type, UInt32)

Creates and initializes a new instance of the attribute.

StaticAttribute(Type, UInt32, Platform) StaticAttribute(Type, UInt32, Platform) StaticAttribute(Type, UInt32, Platform) StaticAttribute(Type, UInt32, Platform) StaticAttribute(Type, UInt32, Platform)

Creates and initializes a new instance of the attribute.

StaticAttribute(Type, UInt32, String) StaticAttribute(Type, UInt32, String) StaticAttribute(Type, UInt32, String) StaticAttribute(Type, UInt32, String) StaticAttribute(Type, UInt32, String)

Creates and initializes a new instance of the attribute.

StaticAttribute(Type, UInt32) StaticAttribute(Type, UInt32) StaticAttribute(Type, UInt32) StaticAttribute(Type, UInt32) StaticAttribute(Type, UInt32)

Creates and initializes a new instance of the attribute.

public : StaticAttribute(Platform::Type type, unsigned int version)
StaticAttribute(Type type, uint32_t version) const;
public StaticAttribute(Type type, UInt32 version)
Public Sub New(type As Type, version As UInt32)
var staticAttribute = new staticAttribute(type, version);

Parameters

type
Type Type Type

The type that contains the static methods for the runtime class.

version
UInt32 UInt32 UInt32

The version in which the static interface was added.

See also

StaticAttribute(Type, UInt32, Platform) StaticAttribute(Type, UInt32, Platform) StaticAttribute(Type, UInt32, Platform) StaticAttribute(Type, UInt32, Platform) StaticAttribute(Type, UInt32, Platform)

Creates and initializes a new instance of the attribute.

public : StaticAttribute(Platform::Type type, unsigned int version, Platform platform)
StaticAttribute(Type type, uint32_t version, Platform platform) const;
public StaticAttribute(Type type, UInt32 version, Platform platform)
Public Sub New(type As Type, version As UInt32, platform As Platform)
var staticAttribute = new staticAttribute(type, version, platform);

Parameters

type
Type Type Type

The type that contains the static methods for the runtime class.

version
UInt32 UInt32 UInt32

The version in which the static interface was added.

platform
Platform Platform Platform

A value of the enumeration. The default is Windows.

See also

StaticAttribute(Type, UInt32, String) StaticAttribute(Type, UInt32, String) StaticAttribute(Type, UInt32, String) StaticAttribute(Type, UInt32, String) StaticAttribute(Type, UInt32, String)

Creates and initializes a new instance of the attribute.

public : StaticAttribute(Platform::Type type, unsigned int version, Platform::String contractName)
StaticAttribute(Type type, uint32_t version, winrt::hstring contractName) const;
public StaticAttribute(Type type, UInt32 version, String contractName)
Public Sub New(type As Type, version As UInt32, contractName As String)
var staticAttribute = new staticAttribute(type, version, contractName);

Parameters

type
Type Type Type

The type that contains the static methods for the runtime class.

version
UInt32 UInt32 UInt32

The version of the API Contract in which the static factory was added to the runtime class's activation factory.

contractName
String String String

A string representing the type of the API contract implementing the class.

See also