StringFormatName StringFormatName StringFormatName StringFormatName Class

Definition

Specifies the format of a StringAttributeMetadata attribute using the FormatName property.

For the Web API the corresponding type is StringFormatName ComplexType.

public ref class StringFormatName sealed : Microsoft::Xrm::Sdk::Metadata::ConstantsBase<System::String ^>
[System.Runtime.Serialization.DataContract(Name="StringFormatName", Namespace="http://schemas.microsoft.com/xrm/2013/Metadata")]
public sealed class StringFormatName : Microsoft.Xrm.Sdk.Metadata.ConstantsBase<string>
type StringFormatName = class
    inherit ConstantsBase<string>
Public NotInheritable Class StringFormatName
Inherits ConstantsBase(Of String)
Inheritance
StringFormatNameStringFormatNameStringFormatNameStringFormatName
Attributes

Remarks

This class replaces the deprecated StringFormat enumeration used to set the StringAttributeMetadata.Format property.

Constructors

StringFormatName() StringFormatName() StringFormatName() StringFormatName()

Initializes a new instance of the StringFormatName class.

Fields

Email Email Email Email

Specifies to display the StringAttributeMetadata as an email address.

Phone Phone Phone Phone

Specifies to display the StringAttributeMetadata as an phone number.

PhoneticGuide PhoneticGuide PhoneticGuide PhoneticGuide

Specifies to display the StringAttributeMetadata as an phonetic guide.

Text Text Text Text

Specifies to display the StringAttributeMetadata as text.

TextArea TextArea TextArea TextArea

Specifies to display the StringAttributeMetadata as a text area.

TickerSymbol TickerSymbol TickerSymbol TickerSymbol

Specifies to display the StringAttributeMetadata as a ticker symbol.

Url Url Url Url

Specifies to display the StringAttributeMetadata as a URL.

VersionNumber VersionNumber VersionNumber VersionNumber

Specifies to display the StringAttributeMetadata as a version number.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether two instances are equal.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Returns a hash code value for this type.

ValueExistsInList(T) ValueExistsInList(T) ValueExistsInList(T) ValueExistsInList(T)

Indicates whether a value exists in the list.

(Inherited from ConstantsBase<T>)

Operators

Equality(StringFormatName, StringFormatName) Equality(StringFormatName, StringFormatName) Equality(StringFormatName, StringFormatName) Equality(StringFormatName, StringFormatName)

Indicates whether two StringFormatName instances are the same.

Implicit(String to StringFormatName) Implicit(String to StringFormatName) Implicit(String to StringFormatName) Implicit(String to StringFormatName)

Converts a string into a StringFormatName

Inequality(StringFormatName, StringFormatName) Inequality(StringFormatName, StringFormatName) Inequality(StringFormatName, StringFormatName) Inequality(StringFormatName, StringFormatName)

Indicates whether two StringFormatName instances are different.

Properties

ExtensionData ExtensionData ExtensionData ExtensionData

(Inherited from ConstantsBase<T>)

Value Value Value Value

(Inherited from ConstantsBase<T>)

Applies to