OptionSetMetadataBase Class

 

Applies To: Dynamics CRM 2015

Contains data that defines a set of options.

Namespace:   Microsoft.Xrm.Sdk.Metadata
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Xrm.Sdk.Metadata.MetadataBase
    Microsoft.Xrm.Sdk.Metadata.OptionSetMetadataBase
      Microsoft.Xrm.Sdk.Metadata.BooleanOptionSetMetadata
      Microsoft.Xrm.Sdk.Metadata.OptionSetMetadata

Syntax

[DataContractAttribute(Name = "OptionSetMetadataBase", Namespace = "http://schemas.microsoft.com/xrm/2011/Metadata")]
[KnownTypeAttribute(typeof(BooleanOptionSetMetadata))]
[KnownTypeAttribute(typeof(OptionSetMetadata))]
public abstract class OptionSetMetadataBase : MetadataBase
[DataContractAttribute(Name = "OptionSetMetadataBase", Namespace = "http://schemas.microsoft.com/xrm/2011/Metadata")]
[KnownTypeAttribute((BooleanOptionSetMetadata^::typeid))]
[KnownTypeAttribute((OptionSetMetadata^::typeid))]
public ref class OptionSetMetadataBase abstract : MetadataBase
[<AbstractClass>]
[<DataContractAttribute(Name = "OptionSetMetadataBase", Namespace = "http://schemas.microsoft.com/xrm/2011/Metadata")>]
[<KnownTypeAttribute(typeof(BooleanOptionSetMetadata))>]
[<KnownTypeAttribute(typeof(OptionSetMetadata))>]
type OptionSetMetadataBase = 
    class
        inherit MetadataBase
    end
<DataContractAttribute(Name := "OptionSetMetadataBase", Namespace := "http://schemas.microsoft.com/xrm/2011/Metadata")>
<KnownTypeAttribute(GetType(BooleanOptionSetMetadata))>
<KnownTypeAttribute(GetType(OptionSetMetadata))>
Public MustInherit Class OptionSetMetadataBase
    Inherits MetadataBase

Constructors

Name Description
System_CAPS_protmethod OptionSetMetadataBase()

Initializes a new instance of the OptionSetMetadataBase class

Properties

Name Description
System_CAPS_pubproperty Description

Gets or sets a description for the option set.

System_CAPS_pubproperty DisplayName

Gets or sets a display name for a global option set.

System_CAPS_pubproperty ExtensionData

Gets or sets the structure that contains extra data.(Inherited from MetadataBase.)

System_CAPS_pubproperty HasChanged

Gets whether the item of metadata has changed.(Inherited from MetadataBase.)

System_CAPS_pubproperty IntroducedVersion

Gets a string identifying the solution version that the solution component was added in.

System_CAPS_pubproperty IsCustomizable

Gets or sets a property that determines whether the option set is customizable.

System_CAPS_pubproperty IsCustomOptionSet

Gets or sets whether the option set is a custom option set.

System_CAPS_pubproperty IsGlobal

Gets or sets whether the option set is a global option set.

System_CAPS_pubproperty IsManaged

Gets or sets whether the option set is part of a managed solution.

System_CAPS_pubproperty MetadataId

Gets or sets a unique identifier for the metadata item.(Inherited from MetadataBase.)

System_CAPS_pubproperty Name

Gets or sets the name of a global option set.

System_CAPS_pubproperty OptionSetType

Gets or sets the type of option set.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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

Microsoft.Xrm.Sdk.Metadata Namespace
Customize global option sets

Return to top

© 2016 Microsoft. All rights reserved. Copyright