ManagementClass.GetStronglyTypedClassCode Method

 

Generates a strongly-typed class for a given WMI class.

Namespace:   System.Management
Assembly:  System.Management (in System.Management.dll)

NameDescription
System_CAPS_pubmethodGetStronglyTypedClassCode(Boolean, Boolean)

Generates a strongly-typed class for a given WMI class.

System_CAPS_pubmethodGetStronglyTypedClassCode(CodeLanguage, String, String)

Generates a strongly-typed class for a given WMI class. This function generates code for Visual Basic, C#, JScript, J#, or C++ depending on the input parameters.

Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.

Return to top
Show: