文字列を AtomTextConstruct インスタンスに変換します。
名前空間: Microsoft.Data.OData.Atom
アセンブリ: Microsoft.Data.OData (Microsoft.Data.OData.dll)
構文
'宣言
Public Shared Widening Operator CType ( _
text As String _
) As AtomTextConstruct
'使用
Dim input As String
Dim output As AtomTextConstruct
output = CType(input, AtomTextConstruct)
public static implicit operator AtomTextConstruct (
string text
)
static implicit operator AtomTextConstruct^ (
String^ text
)
JScript では、カスタム キャストを使用できますが、新規に宣言することはできません。
パラメーター
- text
型: System.String
テキスト値。
戻り値
型: Microsoft.Data.OData.Atom.AtomTextConstruct
text に対して作成された AtomTextConstruct インスタンス。