StringPropertyTooLongException コンストラクター (String, Int32, Int32)
指定されたプロパティ、文字列の最大長、および文字列の現在の長さを持つ StringPropertyTooLongException クラスの新しいインスタンスを初期化します。
名前空間: Microsoft.SqlServer.Management.Dmf
アセンブリ: Microsoft.SqlServer.Dmf (Microsoft.SqlServer.Dmf.dll)
構文
'宣言
Public Sub New ( _
propertyName As String, _
maxLength As Integer, _
currentLength As Integer _
)
'使用
Dim propertyName As String
Dim maxLength As Integer
Dim currentLength As Integer
Dim instance As New StringPropertyTooLongException(propertyName, _
maxLength, currentLength)
public StringPropertyTooLongException(
string propertyName,
int maxLength,
int currentLength
)
public:
StringPropertyTooLongException(
String^ propertyName,
int maxLength,
int currentLength
)
new :
propertyName:string *
maxLength:int *
currentLength:int -> StringPropertyTooLongException
public function StringPropertyTooLongException(
propertyName : String,
maxLength : int,
currentLength : int
)
パラメーター
- propertyName
型: System.String
プロパティの名前を示す String 値です。
- maxLength
型: System.Int32
文字列プロパティで許可されている最大長を示す Int32 値です。
- currentLength
型: System.Int32
文字列の現在の長さを示す Int32 値です。
説明
この名前空間、クラス、またはメンバーは、Microsoft .NET Framework Version 2.0 でのみサポートされています。
使用例
関連項目
参照
StringPropertyTooLongException クラス