Compartilhar via


CimProperty.Create Method

Definition

Overloads

Create(String, Object, CimFlags)
Create(String, Object, CimType, CimFlags)

Create(String, Object, CimFlags)

public:
 static Microsoft::Management::Infrastructure::CimProperty ^ Create(System::String ^ name, System::Object ^ value, Microsoft::Management::Infrastructure::CimFlags flags);
public:
 static Microsoft::Management::Infrastructure::CimProperty ^ Create(Platform::String ^ name, Platform::Object ^ value, Microsoft::Management::Infrastructure::CimFlags flags);
 static Microsoft::Management::Infrastructure::CimProperty Create(std::wstring const & name, winrt::Windows::Foundation::IInspectable const & value, Microsoft::Management::Infrastructure::CimFlags flags);
public static Microsoft.Management.Infrastructure.CimProperty Create (string name, object value, Microsoft.Management.Infrastructure.CimFlags flags);
static member Create : string * obj * Microsoft.Management.Infrastructure.CimFlags -> Microsoft.Management.Infrastructure.CimProperty
Public Shared Function Create (name As String, value As Object, flags As CimFlags) As CimProperty

Parameters

name
String
value
Object
flags
CimFlags

Returns

Applies to

Create(String, Object, CimType, CimFlags)

public:
 static Microsoft::Management::Infrastructure::CimProperty ^ Create(System::String ^ name, System::Object ^ value, Microsoft::Management::Infrastructure::CimType type, Microsoft::Management::Infrastructure::CimFlags flags);
public:
 static Microsoft::Management::Infrastructure::CimProperty ^ Create(Platform::String ^ name, Platform::Object ^ value, Microsoft::Management::Infrastructure::CimType type, Microsoft::Management::Infrastructure::CimFlags flags);
 static Microsoft::Management::Infrastructure::CimProperty Create(std::wstring const & name, winrt::Windows::Foundation::IInspectable const & value, Microsoft::Management::Infrastructure::CimType type, Microsoft::Management::Infrastructure::CimFlags flags);
public static Microsoft.Management.Infrastructure.CimProperty Create (string name, object value, Microsoft.Management.Infrastructure.CimType type, Microsoft.Management.Infrastructure.CimFlags flags);
static member Create : string * obj * Microsoft.Management.Infrastructure.CimType * Microsoft.Management.Infrastructure.CimFlags -> Microsoft.Management.Infrastructure.CimProperty
Public Shared Function Create (name As String, value As Object, type As CimType, flags As CimFlags) As CimProperty

Parameters

name
String
value
Object
type
CimType
flags
CimFlags

Returns

Applies to