Class CharacterSetAttribute
This specifies the character set to be used to display the session name and information data. By default, the ISO-10646 character set in UTF-8 encoding is used. If a more compact representation is required, other character sets may be used. For example, the ISO 8859-1 is specified with the following SDP attribute:
a=charset:ISO-8859-1
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FM.LiveSwitch.Sdp
Assembly: FM.LiveSwitch.dll
Syntax
public class CharacterSetAttribute : Attribute
Constructors
CharacterSetAttribute(String)
Initializes a new instance of the CharacterSetAttribute class.
Declaration
public CharacterSetAttribute(string characterSet)
Parameters
Type | Name | Description |
---|---|---|
System.String | characterSet | The character set to be used to display the session name and information data. |
Properties
CharacterSet
Gets or sets the character set to be used to display the session name and information data.
Declaration
public string CharacterSet { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
FromAttributeValue(String)
Initializes a new instance of the CharacterSetAttribute class.
Declaration
public static CharacterSetAttribute FromAttributeValue(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The attribute value. |
Returns
Type | Description |
---|---|
CharacterSetAttribute |
GetAttributeValue()
Gets the internal value of the attribute.
Declaration
protected override string GetAttributeValue()
Returns
Type | Description |
---|---|
System.String |