CimProperty.Create Method (String, Object, CimType, CimFlags)
Creates a new property.
Namespace: Microsoft.Management.Infrastructure
Assembly: Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)
Syntax
public static CimProperty Create(
string name,
object value,
CimType type,
CimFlags flags
)
public:
static CimProperty^ Create(
String^ name,
Object^ value,
CimType type,
CimFlags flags
)
static member Create :
name:string *
value:Object *
type:CimType *
flags:CimFlags -> CimProperty
Public Shared Function Create (
name As String,
value As Object,
type As CimType,
flags As CimFlags
) As CimProperty
Parameters
name
Type: System.StringThe name of the property.
value
Type: System.ObjectThe value of the property.
type
Type: Microsoft.Management.Infrastructure.CimTypeThe type of the parameter.
flags
Type: Microsoft.Management.Infrastructure.CimFlagsA bitwise-OR combination of one or more values of the CimFlags enumeration that specify the CIM meta-types (qualifier scopes) used with the class declarations of instances.
Return Value
Type: Microsoft.Management.Infrastructure.CimProperty
The newly created CimProperty object.
See Also
Create Overload
CimProperty Class
Microsoft.Management.Infrastructure Namespace
Return to top