Share via


SourceClass Property

SourceClass Property

The SourceClass property returns the string identifier of the interface used to open the object.

Syntax

Property SourceClass as String
read-only
HRESULT get_SourceClass(BSTR* pVal);

Remarks

This property specifies the interface used to open the current object; for example, if you open an embedded message within a body part of another object using a Message object, and then examine the SourceClass property, it returns the string "IBodyPart".