{"id":318,"date":"2007-06-13T09:58:27","date_gmt":"2007-06-13T01:58:27","guid":{"rendered":"http:\/\/www.jason695.idv.tw:81\/wordpress\/?p=318"},"modified":"2008-05-15T17:02:54","modified_gmt":"2008-05-15T09:02:54","slug":"structure%e7%9a%84%e5%af%ab%e6%b3%95","status":"publish","type":"post","link":"https:\/\/jason695.why3s.tw\/wordpress\/2007\/06\/13\/structure%e7%9a%84%e5%af%ab%e6%b3%95\/","title":{"rendered":"Structure\u7684\u5beb\u6cd5"},"content":{"rendered":"<p><a href=\"ms-help:\/\/MS.VSCC.v80\/MS.MSDN.v80\/MS.VisualStudio.v80.cht\/dv_vbalr\/html\/9bd1deea-2a89-4cdc-812c-6dcbb947c391.htm\">ms-help:\/\/MS.VSCC.v80\/MS.MSDN.v80\/MS.VisualStudio.v80.cht\/dv_vbalr\/html\/9bd1deea-2a89-4cdc-812c-6dcbb947c391.htm<br \/>\n<\/a><\/p>\n<pre lang=\"VBNET\" line=\"1\">\r\nPublic Structure employee\r\n    'Public members, accessible from throughout declaration region.\r\n    Public firstName As String\r\n    Public middleName As String\r\n    Public lastName As String\r\n    'Friend members, accessible from anywhere within the same assembly.\r\n    Friend employeeNumber As Integer\r\n    Friend workPhone As Long\r\n    'Private members, accessible only from within the structure itself.\r\n    Private homePhone As Long\r\n    Private level As Integer\r\n    Private salary As Double\r\n    Private bonus As Double\r\n    'Procedure member, which can access structure\u2019s private members.\r\n    Friend Sub calculateBonus(ByVal rate As Single)\r\n        bonus = salary * CDbl(rate)\r\n    End Sub\r\n    'Property member to return employee\u2019s eligibility.\r\n    Friend ReadOnly Property eligible() As Boolean\r\n        Get\r\n            Return level >= 25\r\n        End Get\r\n    End Property\r\n    'Event member, raised when business phone number has changed.\r\n    Public Event changedWorkPhone(ByVal newPhone As Long)\r\nEnd Structure\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>ms-help:\/\/MS.VSCC.v80\/MS.MSDN.v80\/MS.VisualStudio.v80.c &hellip; <a href=\"https:\/\/jason695.why3s.tw\/wordpress\/2007\/06\/13\/structure%e7%9a%84%e5%af%ab%e6%b3%95\/\" class=\"more-link\">\u95b1\u8b80\u5168\u6587 <span class=\"screen-reader-text\">Structure\u7684\u5beb\u6cd5<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[2],"tags":[],"class_list":["post-318","post","type-post","status-publish","format-standard","hentry","category-net","no-featured-image"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/posts\/318","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/comments?post=318"}],"version-history":[{"count":0,"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/posts\/318\/revisions"}],"wp:attachment":[{"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/media?parent=318"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/categories?post=318"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/tags?post=318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}