AutoCompleteAttribute.Value プロパティ
アセンブリ: System.EnterpriseServices (system.enterpriseservices.dll 内)


AutoComplete 属性の Value プロパティの値を取得するコード例を次に示します。
<AutoComplete(False)> _ Public Sub AutoCompleteAttribute_Value() ' Get information on the member. Dim memberinfo As System.Reflection.MemberInfo() = Me.GetType().GetMember("AutoCompleteAttribute_Value") ' Get the AutoCompleteAttribute applied to the member. Dim attribute As AutoCompleteAttribute = CType(System.Attribute.GetCustomAttribute(memberinfo(0), GetType(AutoCompleteAttribute), False), AutoCompleteAttribute) ' Display the value of the attribute's Value property. MsgBox("AutoCompleteAttribute.Value: " & attribute.Value) End Sub 'AutoCompleteAttribute_Value
[AutoComplete(false)] public void AutoCompleteAttribute_Value() { // Get information on the member. System.Reflection.MemberInfo[] memberinfo = this.GetType().GetMember( "AutoCompleteAttribute_Value"); // Get the AutoCompleteAttribute applied to the member. AutoCompleteAttribute attribute = (AutoCompleteAttribute)System.Attribute.GetCustomAttribute( memberinfo[0], typeof(AutoCompleteAttribute), false); // Display the value of the attribute's Value property. Console.WriteLine("AutoCompleteAttribute.Value: {0}", attribute.Value); }
/** @attribute AutoComplete(false) */ public void AutoCompleteAttribute_Value() { // Get information on the member. System.Reflection.MemberInfo memberInfo[] = this.GetType().GetMember("AutoCompleteAttribute_Value"); // Get the AutoCompleteAttribute applied to the member. AutoCompleteAttribute attribute = (AutoCompleteAttribute)(System.Attribute.GetCustomAttribute( memberInfo[0], AutoCompleteAttribute.class.ToType(), false)); // Display the value of the attribute's Value property. Console.WriteLine("AutoCompleteAttribute.Value: {0}", System.Convert.ToString(attribute.get_Value())); } //AutoCompleteAttribute_Value


Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からAutoCompleteAttribute.Value プロパティを検索する場合は、下記のリンクをクリックしてください。

- AutoCompleteAttribute.Value プロパティのページへのリンク