共用方式為


ProvideServiceAttributeBase.ServiceType Property

Gets the service's GUID declared in this attribute.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public ReadOnly Property ServiceType As Guid
public Guid ServiceType { get; }
public:
property Guid ServiceType {
    Guid get ();
}
member ServiceType : Guid with get
function get ServiceType () : Guid

Property Value

Type: Guid
The GUID of the service declared in this attribute.

.NET Framework Security

See Also

Reference

ProvideServiceAttributeBase Class

Microsoft.VisualStudio.Shell Namespace