Edit

Share via


ContributionType Class

Definition

A contribution type, given by a json schema

[System.Runtime.Serialization.DataContract]
public class ContributionType : Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.ContributionBase
type ContributionType = class
    inherit ContributionBase
Public Class ContributionType
Inherits ContributionBase
Inheritance
ContributionType
Attributes

Constructors

ContributionType()

Properties

Description

Description of the contribution/type

(Inherited from ContributionBase)
Id

Fully qualified identifier of the contribution/type

(Inherited from ContributionBase)
Indexed

Controls whether or not contributions of this type have the type indexed for queries. This allows clients to find all extensions that have a contribution of this type.

NOTE: Only TrustedPartners are allowed to specify indexed contribution types.

Name

Friendly name of the contribution/type

Properties

Describes the allowed properties for this contribution type

VisibleTo

VisibleTo can be used to restrict whom can reference a given contribution/type. This value should be a list of publishers or extensions access is restricted too.

Examples: "ms" - Means only the "ms" publisher can reference this. "ms.vss-web" - Means only the "vss-web" extension from the "ms" publisher can reference this.

(Inherited from ContributionBase)

Methods

GetHashCode()

Applies to