共用方式為


IVsProfileSettingsTree.GetEnabled(Int32) Method

Definition

Specifies whether the tree is enabled.

public:
 int GetEnabled([Runtime::InteropServices::Out] int % pfEnabled);
int GetEnabled([Runtime::InteropServices::Out] int & pfEnabled);
public int GetEnabled (out int pfEnabled);
abstract member GetEnabled : int -> int
Public Function GetEnabled (ByRef pfEnabled As Integer) As Integer

Parameters

pfEnabled
Int32

[out] A BOOL value; true if the tree is enabled.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

[C++]

HRESULT IVsProfileSettingsTree::GetEnabled(

[out] BOOL *pfEnabled

);

Applies to