public SetGuidProperty ( int propid, Guid &guid ) : int | ||
propid | int | A __VSHPROPID or __VSHPROPID2 value of the guid property |
guid | Guid | The guid value to set. |
Résultat | int |
public override int SetGuidProperty(int propid, ref Guid guid)
{
switch ((__VSHPROPID)propid)
{
case __VSHPROPID.VSHPROPID_ProjectIDGuid:
this.ProjectIDGuid = guid;
return VSConstants.S_OK;
}
CCITracing.TraceCall(String.Format(CultureInfo.CurrentCulture, "Property {0} not found", propid));
return VSConstants.DISP_E_MEMBERNOTFOUND;
}