StaticAttribute Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
StaticAttribute(Type, UInt32) |
Creates and initializes a new instance of the attribute. |
StaticAttribute(Type, UInt32, String) |
Creates and initializes a new instance of the attribute. |
StaticAttribute(Type, UInt32, Type) |
Creates and initializes a new instance of the attribute. |
StaticAttribute(Type, UInt32, Platform) |
Creates and initializes a new instance of the attribute. |
StaticAttribute(Type, UInt32)
Creates and initializes a new instance of the attribute.
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)
Parameters
- version
-
UInt32
unsigned int
The version in which the static interface was added.
See also
- StaticAttribute(Type, UInt32, Platform)
- StaticAttribute(Type, UInt32, Type)
- StaticAttribute(Type, UInt32, String)
Applies to
StaticAttribute(Type, UInt32, String)
Creates and initializes a new instance of the attribute.
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)
Parameters
- version
-
UInt32
unsigned int
The version of the API Contract in which the static factory was added to the runtime class's activation factory.
- contractName
-
String
Platform::String
A string representing the type of the API contract implementing the class.
See also
- StaticAttribute(Type, UInt32, Platform)
- StaticAttribute(Type, UInt32)
- StaticAttribute(Type, UInt32, Type)
Applies to
StaticAttribute(Type, UInt32, Type)
Creates and initializes a new instance of the attribute.
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)
Parameters
- version
-
UInt32
unsigned int
The version of the API Contract in which the static factory was added to the runtime class's activation factory.
See also
- StaticAttribute(Type, UInt32, Platform)
- StaticAttribute(Type, UInt32)
- StaticAttribute(Type, UInt32, String)
Applies to
StaticAttribute(Type, UInt32, Platform)
Creates and initializes a new instance of the attribute.
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)
Parameters
- version
-
UInt32
unsigned int
The version in which the static interface was added.
- platform
- Platform
A value of the enumeration. The default is Windows.
See also
- StaticAttribute(Type, UInt32)
- StaticAttribute(Type, UInt32, Type)
- StaticAttribute(Type, UInt32, String)