CimProperty.Create Method (String, Object, 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,
CimFlags flags
)
public:
static CimProperty^ Create(
String^ name,
Object^ value,
CimFlags flags
)
static member Create :
name:string *
value:Object *
flags:CimFlags -> CimProperty
Public Shared Function Create (
name As String,
value As Object,
flags As CimFlags
) As CimProperty
Parameters
name
Type: System.StringThe name of the property.
value
Type: System.ObjectThe value of the property.
flags
Type: Microsoft.Management.Infrastructure.CimFlagsThe flags for the property, which is a value of OR'd CimFlagsvalues.
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