OptionSetMetadata Class
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Contains metadata 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.OptionSetMetadata
Syntax
[DataContractAttribute(Name = "OptionSetMetadata", Namespace = "https://schemas.microsoft.com/xrm/2011/Metadata")]
[MetadataNameAttribute(LogicalName = "OptionSetMetadata", LogicalCollectionName = "OptionSetDefinitions")]
public sealed class OptionSetMetadata : OptionSetMetadataBase
<DataContractAttribute(Name := "OptionSetMetadata", Namespace := "https://schemas.microsoft.com/xrm/2011/Metadata")>
<MetadataNameAttribute(LogicalName := "OptionSetMetadata", LogicalCollectionName := "OptionSetDefinitions")>
Public NotInheritable Class OptionSetMetadata
Inherits OptionSetMetadataBase
Constructors
Name | Description | |
---|---|---|
OptionSetMetadata() | Initializes a new instance of theOptionSetMetadata class |
|
OptionSetMetadata(OptionMetadataCollection) | Initializes a new instance of the OptionSetMetadata class |
Properties
Name | Description | |
---|---|---|
Description | Gets or sets a description for the option set.(Inherited from OptionSetMetadataBase.) |
|
DisplayName | Gets or sets a display name for a global option set.(Inherited from OptionSetMetadataBase.) |
|
ExtensionData | Gets or sets the structure that contains extra data.(Inherited from MetadataBase.) |
|
HasChanged | Gets whether the item of metadata has changed.(Inherited from MetadataBase.) |
|
IntroducedVersion | Gets a string identifying the solution version that the solution component was added in.(Inherited from OptionSetMetadataBase.) |
|
IsCustomizable | Gets or sets a property that determines whether the option set is customizable.(Inherited from OptionSetMetadataBase.) |
|
IsCustomOptionSet | Gets or sets whether the option set is a custom option set.(Inherited from OptionSetMetadataBase.) |
|
IsGlobal | Gets or sets whether the option set is a global option set.(Inherited from OptionSetMetadataBase.) |
|
IsManaged | Gets or sets whether the option set is part of a managed solution.(Inherited from OptionSetMetadataBase.) |
|
MetadataId | Gets or sets a unique identifier for the metadata item.(Inherited from MetadataBase.) |
|
Name | Gets or sets the name of a global option set.(Inherited from OptionSetMetadataBase.) |
|
Options | Gets the options available in the option set. |
|
OptionSetType | Gets or sets the type of option set.(Inherited from OptionSetMetadataBase.) |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
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
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright