共用方式為


ProvideGeneratorAttribute.PackageGuid Property

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
    Get
'用途
Dim instance As ProvideGeneratorAttribute
Dim value As Guid

value = instance.PackageGuid
public Guid PackageGuid { get; }
public:
property Guid PackageGuid {
    Guid get ();
}
member PackageGuid : Guid
function get PackageGuid () : Guid

Property Value

Type: System.Guid
The GUID of the package containing a project that supports invoking this generator.

.NET Framework Security

See Also

Reference

ProvideGeneratorAttribute Class

ProvideGeneratorAttribute Members

Microsoft.VisualStudio.Shell.Design.Serialization Namespace