ProvideServiceAttribute.Service Property
Gets the type of the service.
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 Service As Type
Get
'用途
Dim instance As ProvideServiceAttribute
Dim value As Type
value = instance.Service
public Type Service { get; }
public:
property Type^ Service {
Type^ get ();
}
member Service : Type
function get Service () : Type
Property Value
Type: System.Type
The type of the service.
.NET Framework Security
- 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.