次の方法で共有


AtomTextConstruct Implicit 変換 (String to AtomTextConstruct)

文字列を 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 では、カスタム キャストを使用できますが、新規に宣言することはできません。

パラメーター

戻り値

型: Microsoft.Data.OData.Atom.AtomTextConstruct
text に対して作成された AtomTextConstruct インスタンス。

関連項目

参照

AtomTextConstruct クラス

Microsoft.Data.OData.Atom 名前空間