Gets the GUID of the package containing a project that supports invoking this generator.
Namespace: Microsoft.VisualStudio.Shell.Design.Serialization
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'宣言
Public ReadOnly Property PackageGuid As Guid
'使用
Dim instance As ProvideGeneratorAttribute
Dim value As Guid
value = instance.PackageGuid
public Guid PackageGuid { get; }
public:
property Guid PackageGuid {
Guid get ();
}
public function get PackageGuid () : Guid
Property Value
Type: System.Guid
The GUID of the package containing a project that supports invoking this generator.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ProvideGeneratorAttribute Class