IVSMDDesignerService.RegisterDesignViewAttribute Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Registers the specified attribute value for the specified file.
public:
void RegisterDesignViewAttribute(System::Object ^ pHier, int itemid, int dwClass, System::String ^ pwszAttributeValue);
public:
void RegisterDesignViewAttribute(Platform::Object ^ pHier, int itemid, int dwClass, Platform::String ^ pwszAttributeValue);
void RegisterDesignViewAttribute(winrt::Windows::Foundation::IInspectable const & pHier, int itemid, int dwClass, std::wstring const & pwszAttributeValue);
public void RegisterDesignViewAttribute(object pHier, int itemid, int dwClass, string pwszAttributeValue);
abstract member RegisterDesignViewAttribute : obj * int * int * string -> unit
Public Sub RegisterDesignViewAttribute (pHier As Object, itemid As Integer, dwClass As Integer, pwszAttributeValue As String)
Parameters
- pHier
- Object
The T:Microsoft.VisualStudio.Shell.Interop.IVSHierarchy object.
- itemid
- Int32
The VSConstants.VSITEMID.
- dwClass
- Int32
The index of the class. The only requirement is that it be unique for each class and be in increasing value for each class declared in the file.
- pwszAttributeValue
- String
The name of the attribute value.