次の方法で共有


IVsProfileSettingsTree.SetEnabled(Int32, Int32) Method

Definition

Specifies if a node is enabled.

public:
 int SetEnabled(int fEnabled, int fIncludeChildren);
public:
 int SetEnabled(int fEnabled, int fIncludeChildren);
int SetEnabled(int fEnabled, int fIncludeChildren);
public int SetEnabled (int fEnabled, int fIncludeChildren);
abstract member SetEnabled : int * int -> int
Public Function SetEnabled (fEnabled As Integer, fIncludeChildren As Integer) As Integer

Parameters

fEnabled
Int32

[in] BOOL; true if the node is enabled.

fIncludeChildren
Int32

[in] BOOL; true if the node and it's children are 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::SetEnabled(  
   [in] BOOL fEnabled,   
   [in] BOOL fIncludeChildren  
);  

Applies to