共用方式為


ProvideServiceAttribute.ServiceType Property

Gets the GUID of the service type.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)

Syntax

'宣告
Public ReadOnly Property ServiceType As Guid
    Get
'用途
Dim instance As ProvideServiceAttribute
Dim value As Guid

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

Property Value

Type: System.Guid
The GUID of the service type.

.NET Framework Security

See Also

Reference

ProvideServiceAttribute Class

ProvideServiceAttribute Members

Microsoft.VisualStudio.Shell Namespace