Gets properties of a given node or hierarchy.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overridable Function GetProperty ( _
propId As Integer _
) As Object
'使用
Dim instance As HierarchyNode
Dim propId As Integer
Dim returnValue As Object
returnValue = instance.GetProperty(propId)
public virtual Object GetProperty(
int propId
)
public:
virtual Object^ GetProperty(
int propId
)
public function GetProperty(
propId : int
) : Object
Parameters
propId
Type: System.Int32The identifier of the property.
Return Value
Type: System.Object
If the method succeeds, it returns S_OK; otherwise, DISP_E_MEMBERNOTFOUND.
Permissions
- 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.