Partager via


License Class

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Services.Licensing.License
    Microsoft.VisualStudio.Services.Licensing.AccountLicense
    Microsoft.VisualStudio.Services.Licensing.MsdnLicense

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

Syntax

'Declaration
<JsonObjectAttribute> _
Public MustInherit Class License _
    Implements IEquatable(Of License)
[JsonObjectAttribute]
public abstract class License : IEquatable<License>
[JsonObjectAttribute]
public ref class License abstract : IEquatable<License^>
[<AbstractClass>]
[<JsonObjectAttribute>]
type License =  
    class 
        interface IEquatable<License>
    end
public abstract class License implements IEquatable<License>

The License type exposes the following members.

Properties

  Name Description
Public property Source

Top

Methods

  Name Description
Public method Equals(Object) (Overrides Object.Equals(Object).)
Public method Equals(License)
Public methodStatic member Equals(License, License)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode (Overrides Object.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public methodStatic member IsNullOrNone
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodStatic member Parse(String)
Public methodStatic member Parse(String, Boolean)
Public method ToString (Overrides Object.ToString().)
Public methodStatic member TryParse(String, License%)
Public methodStatic member TryParse(String, Boolean, License%)

Top

Operators

  Name Description
Public operatorStatic member Equality
Public operatorStatic member Inequality

Top

Fields

  Name Description
Public fieldStatic member None

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Services.Licensing Namespace