IHTMLObjectElement2::classid Property

Gets or sets the class identifier for the object.

Syntax


HRESULT IHTMLObjectElement2::get_classid(BSTR *p);HRESULT IHTMLObjectElement2::put_classid(BSTR v);

Parameters

p
Pointer to a variable of type BSTR that receives the class identifier for the object.
v
BSTR that specifies the class identifier for the object.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The format the classid string is "clsid:XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" for registered Microsoft ActiveX Controls.

Community Additions

Show: