共用方式為


ServiceDefinition.ServiceType Property

Namespace:  Microsoft.VisualStudio.Services.Location
Assembly:  Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)

Syntax

'Declaration
<DataMemberAttribute(IsRequired := False, EmitDefaultValue := False)> _
Public Property ServiceType As String
[DataMemberAttribute(IsRequired = false, EmitDefaultValue = false)]
public string ServiceType { get; set; }
[DataMemberAttribute(IsRequired = false, EmitDefaultValue = false)]
public:
property String^ ServiceType {
    String^ get ();
    void set (String^ value);
}
[<DataMemberAttribute(IsRequired = false, EmitDefaultValue = false)>]
member ServiceType : string with get, set
function get ServiceType () : String 
function set ServiceType (value : String)

Property Value

Type: System.String

.NET Framework Security

See Also

Reference

ServiceDefinition Class

Microsoft.VisualStudio.Services.Location Namespace