public SetProperty ( int propid, object value ) : int | ||
propid | int | Identifier of the hierarchy property. For a list of propid values, |
value | object | The value to set. |
Résultat | int |
public override int SetProperty(int propid, object value)
{
__VSHPROPID id = (__VSHPROPID)propid;
switch (id)
{
case __VSHPROPID.VSHPROPID_ShowProjInSolutionPage:
this.ShowProjectInSolutionPage = (bool)value;
return VSConstants.S_OK;
}
return base.SetProperty(propid, value);
}