この参照が 10 進数型の場合、型定義への有効な 10 進数型参照を返します。 それ以外の場合、無効な 10 進数型参照を返します。
名前空間: Microsoft.Data.Edm
アセンブリ: Microsoft.Data.Edm (Microsoft.Data.Edm.dll)
構文
'宣言
<ExtensionAttribute> _
Public Shared Function AsDecimal ( _
type As IEdmTypeReference _
) As IEdmDecimalTypeReference
'使用
Dim type As IEdmTypeReference
Dim returnValue As IEdmDecimalTypeReference
returnValue = type.AsDecimal()
public static IEdmDecimalTypeReference AsDecimal(
this IEdmTypeReference type
)
[ExtensionAttribute]
public:
static IEdmDecimalTypeReference^ AsDecimal(
IEdmTypeReference^ type
)
static member AsDecimal :
type:IEdmTypeReference -> IEdmDecimalTypeReference
public static function AsDecimal(
type : IEdmTypeReference
) : IEdmDecimalTypeReference
パラメーター
- type
型: Microsoft.Data.Edm.IEdmTypeReference
呼び出し元オブジェクトへの参照。
戻り値
型: Microsoft.Data.Edm.IEdmDecimalTypeReference
参照の定義が 10 進数型である場合は、有効な 10 進数型参照。それ以外の場合は、無効な 10 進数型参照。
使用に関するメモ
Visual Basic および C# では、このメソッドを型 IEdmTypeReference の任意のオブジェクトのインスタンス メソッドとして呼び出すことができます。このメソッドを呼び出すためにインスタンス メソッドの構文を使う場合は、最初のパラメーターを省略してください。詳細については、「https://msdn.microsoft.com/ja-jp/library/bb384936(v=vs.103)」または「https://msdn.microsoft.com/ja-jp/library/bb383977(v=vs.103)」を参照してください。